package com.ruoyi.hotel.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.hotel.domain.HotelFloor;

/**
 * 楼层Mapper接口
 *
 * @author sunye
 * @date 2024-11-15
 */
public interface HotelFloorMapper extends BaseMapper<HotelFloor>
{
    /**
     * 查询楼层
     *
     * @param floorId 楼层主键
     * @return 楼层
     */
    public HotelFloor selectHotelFloorByFloorId(Long floorId);

    /**
     * 查询楼层列表
     *
     * @param hotelFloor 楼层
     * @return 楼层集合
     */
    public List<HotelFloor> selectHotelFloorList(HotelFloor hotelFloor);



    /**
     * 删除楼层
     *
     * @param floorId 楼层主键
     * @return 结果
     */
    public int deleteHotelFloorByFloorId(Long floorId);

    /**
     * 批量删除楼层
     *
     * @param floorIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHotelFloorByFloorIds(Long[] floorIds);
}
